/*
 * $Id$
 */
package py.windmill.resolution;

import java.util.HashMap;
import java.util.Map;

/**
 *
 * @author myang
 */
public class TilesMap {

    /**
     */
    private Map<String, Object> _map = new HashMap();

    /**
     * 
     * @return 
     */
    public TilesMap() {
    }

    /**
     * 
     * @param key
     * @param val 
     */
    public TilesMap(final String key, final Object val) {
        put(key, val);
    }

    /**
     * 
     * @return 
     */
    public Map<String, Object> map() {
        return _map;
    }

    /**
     *
     * @param key
     * @param val
     * @return
     */
    public final TilesMap put(final String key, final Object val) {
        _map.put(key, val);
        return this;
    }
}
